<a [routerLink]="['/member/login']" title="游客" role="button" class="btn top-head-account" *ngIf="!onlined"><i class="ico mdi mdi-account"></i></a>
<div class="btn-group" *ngIf="onlined" style="margin-top:2px">
    <button type="button" class="btn dropdown-toggle" id="member-top-anchor" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        <img src="{{avatar}}" width="32px" height="32px" />
    </button>
    <div class="dropdown-menu" aria-labelledby="member-top-anchor" id="member-top-menu">
      <a class="dropdown-item" [routerLink]="[ '/member/home' ]"><span class="ico mdi mdi-account"></span>个人中心</a>
      <a class="dropdown-item" [routerLink]="[ '/member/passport' ]"><span class="ico mdi mdi-settings"></span>修改密码</a>
      <a class="dropdown-item" [routerLink]="[ '/member/offline' ]"><span class="ico mdi mdi-power"></span>注销</a>
    </div>
</div>